package com.shimao.celnet.payment.model;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "b_area")
public class BArea  extends BaseModel implements Serializable {

    /**
     * sf区域guid
     */
    @NotBlank(message = "不能为空")
    @Column(name = "sf_guid")
    private String sfGuid;

    /**
     * 区域名称
     */
    @NotEmpty(message = "不能为空")
    @Column(name = "area_name")
    private String areaName;



    /**
     * 获取sf区域guid
     *
     * @return sf_guid - sf区域guid
     */
    public String getSfGuid() {
        return sfGuid;
    }

    /**
     * 设置sf区域guid
     *
     * @param sfGuid sf区域guid
     */
    public void setSfGuid(String sfGuid) {
        this.sfGuid = sfGuid;
    }

    /**
     * 获取区域名称
     *
     * @return area_name - 区域名称
     */
    public String getAreaName() {
        return areaName;
    }

    /**
     * 设置区域名称
     *
     * @param areaName 区域名称
     */
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}